# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wcm
pkgver=0.7.0
pkgrel=0
pkgdesc="Wayfire Config Manager"
url="https://wayfire.org"
arch="all"
license="MIT"
makedepends="wf-config-dev meson libxml++-dev gtk+3.0-dev wayfire-dev"
options="!check" # no testsuite
source="https://github.com/WayfireWM/wcm/releases/download/v$pkgver/wcm-$pkgver.tar.xz"

build() {
	abuild-meson build
	meson compile ${JOBS:+-j ${JOBS}} -C build
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C build
}

sha512sums="190d8befafac69c27d99d10113160a1806a9dbd83f740216dd38e9cbe3c2638817b3471c9f46b60642e91abe02fbb72458b61f07bda9cd5fc5dbc7cdf880c6bb  wcm-0.7.0.tar.xz"
